﻿using B.S.Passport.Domain;
using B.S.Passport.ErrorCode;
using MediatR;

namespace B.S.Passport.Write.API.Application
{
    public class AddWhouseCommand:IRequest<ApiResult<object>>
    {
        /// <summary>
        /// 仓库编号自动生成
        /// </summary>
         public string WarehouseNumber { get; set; }
        /// <summary>
        /// 库位编号
        /// </summary>
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 是否为默认库位
        /// </summary>
        public bool Defaultnot { get; set; }

        /// <summary>
        /// 是否禁用该库位
        /// </summary>
        public bool Disable { get; set; }

        /// <summary>
        /// 关联的仓库编号
        /// </summary>
        public int WHouseId { get; set; }

        /// <summary>
        /// 库位类型编号
        /// </summary>
        public int WHouseTypeId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool isdelete { get; set; } = false;
    }
}
